package com.hxzy.shop.message;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @ClassName DrugChangeMessage
 * @Author wengjt
 * @Date 2021/7/15 17:49
 * @Description
 **/
@Data
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
public class DrugChangeMessage implements Serializable {

    /**
     * 药品id
     */
    private Long drugId;
    /**
     * 更改类型 1新增 2修改 3删除 4上下架
     */
    private Integer ChangeType;
    /**
     * 上下架状态 true上架 false下架
     */
    private Boolean state;
    /**
     * 商户id
     */
    private Long merchantId;
}
